﻿using System;
using System.Collections.Generic;

using System.Windows.Forms;

namespace Iprojects
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Iprojects.Forms.FormLogin f1 = new Iprojects.Forms.FormLogin();
            f1.StartPosition = FormStartPosition.CenterScreen;
            DialogResult dr = f1.ShowDialog();


            if (dr == DialogResult.OK)
            {
                Application.Run(new MainForm());
            }
            else
            {
                Application.Exit();
            }
           // Application.Run(new MainForm());
           // Application.Run(new Iprojects.Forms.FormLogin());
        }
    }
}
